<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="with=device-width,initial-scale=1,user-scalable=no">
	<!-- <link rel="stylesheet" type="text/css" href="dist/css/bootstrap.min.css"> -->
	<title></title>
	<style>
		
    	.row div{
    		background-color: rgba(86,61,124,.15);
    		border: 1px solid #ddd;
    	}
    	.cen{
    		background: #ddd;
    		width: 100%;
    		height: 500px;
			float: left;
    	}
    	.container{
    		padding: 0 210px;
    	}
    	.right,.left{
    		float: left;
    		width: 200px;
    		height: 500px;
    	}
    	.right{
			background:#ccc;
			margin-left: -200px;
    	}
    	.left{
    		background: #eee;
    		margin-left: -100%;
    	}
    	form{
    		display: flex;
    	}
    	input{
    		flex-grow:1 ;
    	}
	</style>
</head>
<body>
	<div class="container">
		<!-- <div class="row">
			<div class="col-xs-12 col-md-8">col-xs-12 col-md-8</div>
			<div class="col-xs-6 col-md-4">col-xs-12 col-md-8</div>
		</div>
		<table class="table table-bordered">
			<tr><td>1</td><td>dsfsds</td>
			<td>的说法坚实的</td></tr>
		</table>
		<form></form> -->
		
		<!-- <div class="cen"></div>
		
		<div class="left"></div>
		<div class="right"></div> -->
		<!-- <form>
			<input type="email">
			<button type="submit">send</button>
		</form> -->
	</div>
	<script type="text/javascript">
		
		// function getMore(str){
		// 	var o={};
		// 	for(var i=0;i<str.length;i++){
		// 		if(!o[str.charAt(i)]){
		// 			o[str.charAt(i)]=1;
		// 		}else{
		// 			o[str.charAt(i)]++;
		// 		}
		// 	}
		// 	var max=0,more="";
		// 	for(var i in o){
		// 		if(o[i]>max){
		// 			max=o[i];
		// 			more=i
		// 		}
		// 	}
		// 	return[max,more]
		// }
		// var str="aaaadfetwersdfdfd";
		// var result=getMore(str)
		// console.log("出现次数最多:"+result[1]+"出现次数："+result[0])
		function Animal(){}
		Animal.prototype.sep="动物";
		function cat(name,color){
			this.name=name;
			this.color=color;
		}
		cat.prototype=Animal.prototype;
		cat.prototype.constructor=cat;
		var cat1=new cat("大毛","黄色");
		console.log(cat1.sep)
		console.log(Animal.prototype.constructor)

	</script>
</body>
</html>
